package com.hadluo.qq.client.event;

/**
 * 用户状态事件类
 * @author hadluo
 */
public class UserStatusEvent {
    private String type = "STATUS";
    private String userId;
    private boolean online;

    public UserStatusEvent() {}

    public UserStatusEvent(String userId, boolean online) {
        this.userId = userId;
        this.online = online;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public boolean isOnline() {
        return online;
    }

    public void setOnline(boolean online) {
        this.online = online;
    }
}